﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;

namespace MyCommerce.Presentation.Stores.IViews
{
    public delegate void OnEntityEventHandler(object sender, long id);
    public delegate void OnSaveEventHandler(object sender, bool isNew);

    public interface IStore
    {
        List<Store> colStore { set; }
        List<Employee> colEmployee { set; }
        Store objStore { get; set; }
        
        event EventHandler OnLoad;
        event OnSaveEventHandler OnSave;
        event OnEntityEventHandler OnEdit;
        event OnEntityEventHandler OnDelete;
    }
}
